3.209 \(\int \frac{c+d x+e x^2+f x^3+g x^4+h x^5+i x^6+j x^7}{\left (a+b x^4\right )^4} \, dx\)

Optimal. Leaf size=534 \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (7 \sqrt{b} (a g+11 b c)-5 \sqrt{a} (a i+3 b e)\right )}{512 \sqrt{2} a^{15/4} b^{7/4}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (7 \sqrt{b} (a g+11 b c)-5 \sqrt{a} (a i+3 b e)\right )}{512 \sqrt{2} a^{15/4} b^{7/4}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (7 \sqrt{b} (a g+11 b c)+5 \sqrt{a} (a i+3 b e)\right )}{256 \sqrt{2} a^{15/4} b^{7/4}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (7 \sqrt{b} (a g+11 b c)+5 \sqrt{a} (a i+3 b e)\right )}{256 \sqrt{2} a^{15/4} b^{7/4}}+\frac{(a h+5 b d) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{7/2} b^{3/2}}+\frac{x \left (7 (a g+11 b c)+12 x (a h+5 b d)+15 x^2 (a i+3 b e)\right )}{384 a^3 b \left (a+b x^4\right )}-\frac{4 a (a j+2 b f)-x \left (b (a g+11 b c)+2 b x (a h+5 b d)+3 b x^2 (a i+3 b e)\right )}{96 a^2 b^2 \left (a+b x^4\right )^2}+\frac{x \left (x (b d-a h)+x^2 (b e-a i)+x^3 (b f-a j)-a g+b c\right )}{12 a b \left (a+b x^4\right )^3} \]

[Out]

(x*(b*c - a*g + (b*d - a*h)*x + (b*e - a*i)*x^2 + (b*f - a*j)*x^3))/(12*a*b*(a +
 b*x^4)^3) + (x*(7*(11*b*c + a*g) + 12*(5*b*d + a*h)*x + 15*(3*b*e + a*i)*x^2))/
(384*a^3*b*(a + b*x^4)) - (4*a*(2*b*f + a*j) - x*(b*(11*b*c + a*g) + 2*b*(5*b*d
+ a*h)*x + 3*b*(3*b*e + a*i)*x^2))/(96*a^2*b^2*(a + b*x^4)^2) + ((5*b*d + a*h)*A
rcTan[(Sqrt[b]*x^2)/Sqrt[a]])/(32*a^(7/2)*b^(3/2)) - ((7*Sqrt[b]*(11*b*c + a*g)
+ 5*Sqrt[a]*(3*b*e + a*i))*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(256*Sqrt[2]
*a^(15/4)*b^(7/4)) + ((7*Sqrt[b]*(11*b*c + a*g) + 5*Sqrt[a]*(3*b*e + a*i))*ArcTa
n[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(256*Sqrt[2]*a^(15/4)*b^(7/4)) - ((7*Sqrt[b]
*(11*b*c + a*g) - 5*Sqrt[a]*(3*b*e + a*i))*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)
*x + Sqrt[b]*x^2])/(512*Sqrt[2]*a^(15/4)*b^(7/4)) + ((7*Sqrt[b]*(11*b*c + a*g) -
 5*Sqrt[a]*(3*b*e + a*i))*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2]
)/(512*Sqrt[2]*a^(15/4)*b^(7/4))

_______________________________________________________________________________________

Rubi [A]  time = 1.86061, antiderivative size = 534, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 12, integrand size = 45, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267 \[ -\frac{\log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (7 \sqrt{b} (a g+11 b c)-5 \sqrt{a} (a i+3 b e)\right )}{512 \sqrt{2} a^{15/4} b^{7/4}}+\frac{\log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (7 \sqrt{b} (a g+11 b c)-5 \sqrt{a} (a i+3 b e)\right )}{512 \sqrt{2} a^{15/4} b^{7/4}}-\frac{\tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (7 \sqrt{b} (a g+11 b c)+5 \sqrt{a} (a i+3 b e)\right )}{256 \sqrt{2} a^{15/4} b^{7/4}}+\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (7 \sqrt{b} (a g+11 b c)+5 \sqrt{a} (a i+3 b e)\right )}{256 \sqrt{2} a^{15/4} b^{7/4}}+\frac{(a h+5 b d) \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{7/2} b^{3/2}}+\frac{x \left (7 (a g+11 b c)+12 x (a h+5 b d)+15 x^2 (a i+3 b e)\right )}{384 a^3 b \left (a+b x^4\right )}-\frac{4 a (a j+2 b f)-x \left (b (a g+11 b c)+2 b x (a h+5 b d)+3 b x^2 (a i+3 b e)\right )}{96 a^2 b^2 \left (a+b x^4\right )^2}+\frac{x \left (x (b d-a h)+x^2 (b e-a i)+x^3 (b f-a j)-a g+b c\right )}{12 a b \left (a+b x^4\right )^3} \]

Antiderivative was successfully verified.

[In]  Int[(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5 + i*x^6 + j*x^7)/(a + b*x^4)^4,x]

[Out]

(x*(b*c - a*g + (b*d - a*h)*x + (b*e - a*i)*x^2 + (b*f - a*j)*x^3))/(12*a*b*(a +
 b*x^4)^3) + (x*(7*(11*b*c + a*g) + 12*(5*b*d + a*h)*x + 15*(3*b*e + a*i)*x^2))/
(384*a^3*b*(a + b*x^4)) - (4*a*(2*b*f + a*j) - x*(b*(11*b*c + a*g) + 2*b*(5*b*d
+ a*h)*x + 3*b*(3*b*e + a*i)*x^2))/(96*a^2*b^2*(a + b*x^4)^2) + ((5*b*d + a*h)*A
rcTan[(Sqrt[b]*x^2)/Sqrt[a]])/(32*a^(7/2)*b^(3/2)) - ((7*Sqrt[b]*(11*b*c + a*g)
+ 5*Sqrt[a]*(3*b*e + a*i))*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(256*Sqrt[2]
*a^(15/4)*b^(7/4)) + ((7*Sqrt[b]*(11*b*c + a*g) + 5*Sqrt[a]*(3*b*e + a*i))*ArcTa
n[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)])/(256*Sqrt[2]*a^(15/4)*b^(7/4)) - ((7*Sqrt[b]
*(11*b*c + a*g) - 5*Sqrt[a]*(3*b*e + a*i))*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)
*x + Sqrt[b]*x^2])/(512*Sqrt[2]*a^(15/4)*b^(7/4)) + ((7*Sqrt[b]*(11*b*c + a*g) -
 5*Sqrt[a]*(3*b*e + a*i))*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2]
)/(512*Sqrt[2]*a^(15/4)*b^(7/4))

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((j*x**7+i*x**6+h*x**5+g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**4+a)**4,x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 1.12429, size = 555, normalized size = 1.04 \[ \frac{-6 \sqrt [4]{b} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (16 a^{5/4} \sqrt [4]{b} h+5 \sqrt{2} a^{3/2} i+80 \sqrt [4]{a} b^{5/4} d+15 \sqrt{2} \sqrt{a} b e+7 \sqrt{2} a \sqrt{b} g+77 \sqrt{2} b^{3/2} c\right )+6 \sqrt [4]{b} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (-16 a^{5/4} \sqrt [4]{b} h+5 \sqrt{2} a^{3/2} i-80 \sqrt [4]{a} b^{5/4} d+15 \sqrt{2} \sqrt{a} b e+7 \sqrt{2} a \sqrt{b} g+77 \sqrt{2} b^{3/2} c\right )+3 \sqrt{2} \sqrt [4]{b} \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (5 a^{3/2} i+15 \sqrt{a} b e-7 a \sqrt{b} g-77 b^{3/2} c\right )+3 \sqrt{2} \sqrt [4]{b} \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right ) \left (-5 a^{3/2} i-15 \sqrt{a} b e+7 a \sqrt{b} g+77 b^{3/2} c\right )+\frac{8 a^{3/4} b x (7 a g+3 a x (4 h+5 i x)+77 b c+15 b x (4 d+3 e x))}{a+b x^4}+\frac{256 a^{11/4} \left (a^2 j-a b (f+x (g+x (h+i x)))+b^2 x (c+x (d+e x))\right )}{\left (a+b x^4\right )^3}-\frac{32 a^{7/4} \left (12 a^2 j-a b x (g+x (2 h+3 i x))-b^2 x (11 c+x (10 d+9 e x))\right )}{\left (a+b x^4\right )^2}}{3072 a^{15/4} b^2} \]

Antiderivative was successfully verified.

[In]  Integrate[(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5 + i*x^6 + j*x^7)/(a + b*x^4)^4,x]

[Out]

((8*a^(3/4)*b*x*(77*b*c + 7*a*g + 15*b*x*(4*d + 3*e*x) + 3*a*x*(4*h + 5*i*x)))/(
a + b*x^4) - (32*a^(7/4)*(12*a^2*j - b^2*x*(11*c + x*(10*d + 9*e*x)) - a*b*x*(g
+ x*(2*h + 3*i*x))))/(a + b*x^4)^2 + (256*a^(11/4)*(a^2*j + b^2*x*(c + x*(d + e*
x)) - a*b*(f + x*(g + x*(h + i*x)))))/(a + b*x^4)^3 - 6*b^(1/4)*(77*Sqrt[2]*b^(3
/2)*c + 80*a^(1/4)*b^(5/4)*d + 15*Sqrt[2]*Sqrt[a]*b*e + 7*Sqrt[2]*a*Sqrt[b]*g +
16*a^(5/4)*b^(1/4)*h + 5*Sqrt[2]*a^(3/2)*i)*ArcTan[1 - (Sqrt[2]*b^(1/4)*x)/a^(1/
4)] + 6*b^(1/4)*(77*Sqrt[2]*b^(3/2)*c - 80*a^(1/4)*b^(5/4)*d + 15*Sqrt[2]*Sqrt[a
]*b*e + 7*Sqrt[2]*a*Sqrt[b]*g - 16*a^(5/4)*b^(1/4)*h + 5*Sqrt[2]*a^(3/2)*i)*ArcT
an[1 + (Sqrt[2]*b^(1/4)*x)/a^(1/4)] + 3*Sqrt[2]*b^(1/4)*(-77*b^(3/2)*c + 15*Sqrt
[a]*b*e - 7*a*Sqrt[b]*g + 5*a^(3/2)*i)*Log[Sqrt[a] - Sqrt[2]*a^(1/4)*b^(1/4)*x +
 Sqrt[b]*x^2] + 3*Sqrt[2]*b^(1/4)*(77*b^(3/2)*c - 15*Sqrt[a]*b*e + 7*a*Sqrt[b]*g
 - 5*a^(3/2)*i)*Log[Sqrt[a] + Sqrt[2]*a^(1/4)*b^(1/4)*x + Sqrt[b]*x^2])/(3072*a^
(15/4)*b^2)

_______________________________________________________________________________________

Maple [A]  time = 0.02, size = 784, normalized size = 1.5 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((j*x^7+i*x^6+h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/(b*x^4+a)^4,x)

[Out]

(5/128*(a*i+3*b*e)/a^3*b*x^11+1/32*(a*h+5*b*d)/a^3*b*x^10+7/384*(a*g+11*b*c)/a^3
*b*x^9+7/64*(a*i+3*b*e)/a^2*x^7+1/12/a^2*(a*h+5*b*d)*x^6+3/64/a^2*(a*g+11*b*c)*x
^5-1/8*j*x^4/b-1/384*(5*a*i-113*b*e)/a/b*x^3-1/32*(a*h-11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*arctan(2^(1/2)/(a/b)^(1/4)*x-1)*i+15/512*e/a^3/b/(a/b)^(1/4)*
2^(1/2)*arctan(2^(1/2)/(a/b)^(1/4)*x-1)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((j*x^7 + i*x^6 + h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^4 + a)^4,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((j*x^7 + i*x^6 + h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^4 + a)^4,x, algorithm="fricas")

[Out]

Exception raised: NotImplementedError

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((j*x**7+i*x**6+h*x**5+g*x**4+f*x**3+e*x**2+d*x+c)/(b*x**4+a)**4,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.228247, size = 1035, normalized size = 1.94 \[ \text{result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((j*x^7 + i*x^6 + h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)/(b*x^4 + a)^4,x, algorithm="giac")

[Out]

5/1024*i*(2*sqrt(2)*(a*b^3)^(3/4)*arctan(1/2*sqrt(2)*(2*x + sqrt(2)*(a/b)^(1/4))
/(a/b)^(1/4))/(a^3*b^4) - sqrt(2)*(a*b^3)^(3/4)*ln(x^2 + sqrt(2)*x*(a/b)^(1/4) +
 sqrt(a/b))/(a^3*b^4)) + 5/1024*i*(2*sqrt(2)*(a*b^3)^(3/4)*arctan(1/2*sqrt(2)*(2
*x - sqrt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